package com.hbusa.dao;


import com.hbusa.dto.TbCategory;

import java.sql.SQLException;
import java.util.ArrayList;

public interface CategoryDao {
    boolean add (TbCategory category) throws SQLException;

    public boolean modify(long cat_id, TbCategory category)  throws SQLException;

    boolean removeById(long category_id) throws SQLException;

    ArrayList<TbCategory> findAll() throws SQLException;

    TbCategory findById(int cat_id) throws SQLException;
}
